//
//  XDescoverController.m
//  XWeibo-OC
//
//  Created by Apple on 15/10/25.
//  Copyright © 2015年 Apple. All rights reserved.
//

#import "XDescoverController.h"
#import "UIBarButtonItem+XExtension.h"

@interface XDescoverController ()

@end

@implementation XDescoverController

- (void)viewDidLoad {
    [super viewDidLoad];
   
    self.title = @"发现";
    
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem barButtonItemWithTitle:@"注册" addTarget:self action:@selector(registerClick) forControlEvents:UIControlEventTouchUpInside];
    
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem barButtonItemWithTitle:@"登录" addTarget:self action:@selector(login) forControlEvents:UIControlEventTouchUpInside];
}

#pragma mark - 按钮点击事件
- (void)registerClick
{
    NSLog(@"registerClick");
}

- (void)login
{
    NSLog(@"login");
}




@end
